﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace WOS.Common
{
    public sealed class Classification
    {
        #region Private Fields
        private readonly string name;
        private readonly ClassificationEntry[] entries;
        #endregion
        #region Constructors
        public Classification(string name, ClassificationEntry[] entries)
        {
            this.name = name;
            this.entries = entries;
        }
        #endregion

        #region Public Members
        public string Name
        {
            get { return this.name; }
        }

        public ClassificationEntry[] Entries
        {
            get { return this.entries; }
        }
        #endregion
    }
    public sealed class ClassificationEntry
    {
        #region Private Fields
        private readonly string key;
        private readonly string value;
        #endregion
        #region Constructors
        public ClassificationEntry(string key, string value)
        {
            this.key = key;
            this.value = value;
        }
        #endregion

        #region Public Members
        public string Key
        {
            get { return this.key; }
        }

        public string Value
        {
            get { return this.value; }
        }
        #endregion
    }
}
